﻿using NHibernate;

namespace Laugh.Data.DatabaseCfg
{
    public interface IDatabase : IDependency
    {
        void BuildSchema();
        ISessionFactory SessionFactory { get; }
        void Register(ISessionFactoryHolder holder);
    }
}
